<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>新生查询</title>
    <link type="text/css" href="css/base.css" rel="stylesheet" />
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>
    <!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>

<body>
<%@ include file="/page/share/menu.jsp" %>

<div id="content" style="width: 1050px;margin-left: 18%">
    <form method="post" action="Student!findStudent.action">
        <table style="margin-left: -50px;">
            <tr>
                <td align="right">
                    身份证号：
                </td>
                <td>
                    <input type="text" name="identity" value="" style="width: 200px;height: 25px;"/><br/>
                </td>
                <td align="right">
                    姓&nbsp;&nbsp;名：
                </td>
                <td>
                    <input type="text" name="stuName" value="" style="width: 100px;height: 25px;"/><br/>
                </td>

                <td>
                    <input type="submit" value="查询" onMouseOver="this.style.background='#2569c1'" onmouseout="this.style.background='#114a93'" style="width:120px;height:25px;cursor:pointer;border: none;background: #2569c1;color: white;font-size: 16px;" />
                </td>
            </tr>
        </table>
    </form>
    <form method="post" action="" align="center">
        <table align="center"
               style="margin: 40px auto 20px;background: #114a93;opacity:0.9;font-family: '微软雅黑',serif;color: linen;width:
    1000px;text-align: center">
            <thead align="center">
            <tr>
                <th>
                    学&nbsp;号
                </th>
                <th>
                    姓&nbsp;名
                </th>
                <th>
                    性&nbsp;别
                </th>
                <th>
                    专&nbsp;业
                </th>
                <th>
                    学&nbsp;院
                </th>
                <th>
                    校&nbsp;区
                </th>
                <th>
                    宿&nbsp;舍
                </th>
            </tr>
            </thead>
            <s:iterator value="students" var="s">
                <tr align="center">
                    <td>
                        <s:property value="#s.studentId"/>
                        &nbsp;
                    <td>
                    <s:property value="#s.studentName"/>
                        &nbsp;
                    </td>
                    <td>
                        <s:property value="#s.sex"/>
                        &nbsp;
                    </td>
                    <td>
                        <s:property value="#s.major"/>
                        &nbsp;
                    </td>
                    <td>
                        <s:property value="#s.major.college.collegeName"/>
                        &nbsp;
                    </td>
                    <td>
                        <s:property value="#s.major.college.campus.campusName"/>
                        &nbsp;
                    </td>
                    <td>
                        <s:property value="#s.dormitory.dormitoryId"/>
                        &nbsp;
                    </td>
                </tr>
            </s:iterator>
        </table>
        </form>
</div>


<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队 版权所有</p>
</div>
</body>
</html>